{{include file="TEMPLATE/public/head.html"}}
{{include file="TEMPLATE/public/headCate.html"}}
	<!--面包屑-->
		<div class="list_bottom_fr">
			<span class="tit">您当前位置：</span>
			<a href="{{U('Index/index')}}">首页</a>
			<span class="fenge">></span>
			<a href="{{U('MineYG/index')}}">我的优购</a>
			<span class="fenge">></span>
			<p>我的订单</p>
		</div>
		<!--面包屑结束-->
	<!--您当前位置下边部分区域-->
	<div class="mine_bottom">
		<!--左侧-->
		{{include file="TEMPLATE/public/left.html"}}
		<!--左侧结束-->
		<!--右侧区域-->
		<div class="mine_bottom_right">
			<div class="mine_bottom_right1">
				<h2 class="mine_bottom_right11">我的订单</h2>
			</div>

			<!--第三部分，订单详情区域-->
			{{if value="count($mineData)!=0"}}
				<div class="mine_bottom_right3">
					{{foreach from="$mineData" key="$k" value="$v"}}
						<table border="0" cellspacing="1" cellpadding="" class="mine_bottom_right31">
							<colgroup>
								<col width="571"/>
								<col width="106"/>
								<col width="153"/>
							</colgroup>
							<thead>
								<tr>
									<th colspan="3">
										<span>订单号：{{$v['number']}}</span>
										<span>下单时间：{{date('y/m/d H:m',$v['time'])}}</span>
										<span> 支付方式： 在线支付
											{{if value="$v['status']=='未付款'"}}
												<font> (未支付)</font>										
											{{endif}}									
										</span>
									</th>
								</tr>
							</thead>
							<tbody>
								<tr>
									<td>
										<div class="mine_bottom_right32">
											<p class="mine_bottom_right321">
												<span>子订单号：{{$v['number']}}_1</span>
												<span>商品数量：{{$v['total_rows']}}件</span>
												<span>状态：
													{{if value="$v['status']=='未付款'"}}
														<strong>等待买家付款</strong>
													{{endif}}	
													{{if value="$v['status']=='待发货'"}}
														<strong>等待卖家发货</strong>
													{{endif}}
													{{if value="$v['status']=='已发货'"}}	
														<strong>卖家已发货</strong>
													{{endif}}
													{{if value="$v['status']=='已完成'"}}
														<strong>交易完成</strong>
													{{endif}}
												</span>
											</p>
											<div class="mine_bottom_right322">
												{{foreach from="$v['orderlist']" key="$kk" value="$vv"}}
												<dl>
													<dt><a href="{{U('Content/index',array('gid'=>$vv['goods']['gid']))}}"><img src="{{$vv['goods']['pic']}}"/></a></dt>
													<dd class="mine_bottom_right3221">
														<p>
															<a href="{{U('Content/index',array('gid'=>$vv['goods']['gid']))}}">{{$vv['goods']['gname']}}</a>
														</p>
														<p>
															<em class="mine_bottom_right32211">颜色:</em>
															<em class="mine_bottom_right32212">{{$vv['glcolor']}}</em>
															<em class="mine_bottom_right32211">尺码:</em>
															<em class="mine_bottom_right32212">{{$vv['glsize']}}</em>
														</p>
													</dd>
													<dd class="mine_bottom_right3222">
														<p><strong>¥ </strong> {{$vv['goods']['shopprice']}}</p>
													</dd>
													<dd class="mine_bottom_right3222">{{$vv['quantity']}}{{$vv['goods']['unit']}}</dd>
												</dl>
												{{endforeach}}
											</div>
												
										</div>
									</td>
									<td>
										<div class="mine_bottom_right33">
												<p class="mine_bottom_right331">{{$v['total']}}元</p>
												<p class="mine_bottom_right332">(免运费)</p>
										</div>
									</td>
									<td>
										<div class="mine_bottom_right34">
											{{if value="$v['status']=='未付款'"}}
												<a href="{{U('OrderLSuccess/index',array('number'=>$v['number']))}}" class="mine_bottom_right341">立即支付</a>
												<p class="mine_bottom_right343">
													<a href="{{U('MineYG/del',array('oid'=>$v['oid']))}}">取消订单</a>
												</p>
											{{endif}}
											{{if value="$v['status']=='待发货'"}}
												<p class="mine_bottom_right343" style="width: 100px;margin: 0 auto;">
													<a href="">您的商品正在出库,请耐心等待</a>
												</p>
											{{endif}}
											{{if value="$v['status']=='已发货'"}}
												<a href="{{U('MineYG/querenshouhuo',array('oid'=>$v['oid']))}}" class="mine_bottom_right341">确认收货</a>
											{{endif}}
											{{if value="$v['status']=='已完成'"}}
												{{foreach from="$v['orderlist']" key="$kk" value="$vv"}}
												<p class="mine_bottom_right343">
													<a href="{{U('Content/index',array('gid'=>$vv['goods']['gid']))}}">去评价</a>
												</p>
												{{endforeach}}
											{{endif}}
												
											
											
										</div>
									</td>
								</tr>
							</tbody>
						</table>
					{{endforeach}}
				</div>
			{{else}}
				<div class="mine_bottom_right3">
					<p class="mine_bottom_right3131"></p>
					<p class="mine_bottom_right3232">
						您最近没购买过任何商品，先去<a href="javascript:;">挑选商品</a>吧！~
					</p>
				</div>
			
			{{endif}}

		</div>
		<!--右侧区域结束-->
	</div>
	<!--footer区域开始-->
	<div id="footer_one">
		<div class="footer_one_center">
			<div class="footer_one_center_header">
				<ul>
					<li>
						<i></i>
						<a href=""><em>100%</em>正品保证</a>
					</li>
				</ul>
				<ul>
					<li>
						<i class="footer_i1"></i>
						<a href=""><em>10天</em>退换货</a>
					</li>
				</ul>
				<ul>
					<li>
						<i class="footer_i2"></i>
						<a href=""><em>10天调价</em>补差额</a>
					</li>
				</ul>
				<ul>
					<li>
						<i class="footer_i3"></i>
						<a href=""><em>7×24</em>在线客服</a>
					</li>
				</ul>
			</div>
			<div class="footer_one_center_bottom">
				<dl>
					<dt>新手帮助</dt>
					<dd><a href="">交易条款协议</a></dd>
					<dd><a href="">注册新用户</a></dd>
					<dd><a href="">会员积分详情</a></dd>
				</dl>
				<dl>
					<dt>购物指南</dt>
					<dd><a href="">订购流程</a></dd>
					<dd><a href="">验货与签收</a></dd>
					<dd><a href="">订单配送查询</a></dd>
				</dl>
				<dl>
					<dt>支付/配送</dt>
					<dd><a href="">支付方式</a></dd>
					<dd><a href="">配送方式</a></dd>
					<dd><a href="">配送时间及运费</a></dd>
				</dl>
				<dl>
					<dt>售后服务</dt>
					<dd><a href="">退换货政策</a></dd>
					<dd><a href="">退款说明</a></dd>
					<dd><a href="">发票制度</a></dd>
				</dl>
				<dl>
					<dt>会员服务</dt>
					<dd><a href="">找回密码</a></dd>
					<dd><a href="">联系我们</a></dd>
				</dl>
				<dl class="fot">
					<dt>优购服务</dt>
					<dd><a href="">
						<span></span>
						<a href="">在线咨询</a>
					</dd>
					<dd>Email：<em>service@yougou.com</em></dd>
				</dl>
			</div>
		</div>
		
	</div>
	<div id="footer_two">
		<div class="footer_two_center">
			<div class="footer_two_center_img">
				<a href="" alt="优购时尚商城" title="优购时尚商城"><img src="__TEMPLATE__/images/footer_two_center_img.png"/></a>
			</div>
			<div class="footer_two_center_right">
					<p>
						<a href="">关于优购</a> |
						<a href="">品牌招商</a> |
						<a href="">集团采纳</a> |
						<a href="">招贤纳士</a> |
						<a href="">手机优购</a> |
						<a href="">联系我们</a> |
						<a href="">品牌大全</a> |
						<a href="">网站地图</a> |
						<a href="">销售排行</a> |
						<a href="">优购资讯</a> |
						<a href="">网站联盟</a> |
						<a href="">友情链接</a>
					</p>
					<p>Copyright © 2011-2015 Yougou Technology Co., Ltd. <a href="">粤ICP备09070608号-4</a> 增值电信业务经营许可证：<a href="">粤 B2-20090203</a> 深公网安备：4403101910665</p>
					<div class="footer_two_center_right3">
						<a href=""><img src="__TEMPLATE__/images/footer_two_center_right35.png"/></a>
						<a href=""><img src="__TEMPLATE__/images/footer_two_center_right34.png"/></a>
						<a href=""><img src="__TEMPLATE__/images/footer_two_center_right33.jpg"/></a>
						<a href=""><img src="__TEMPLATE__/images/footer_two_center_right32.png"/></a>
						<a href=""><img src="__TEMPLATE__/images/footer_two_center_right31.png"/></a>
					</div>				
			</div>
		</div>
	</div>
	<!--footer区域结束-->
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
</body>
</html>
